package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * @title		:MDCGroup.java
 * @description	:MDC分组
 * @author		:fulianxia
 * @date		:2015年4月2日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014 
 */
@Entity
@Table(name="T_MDCGROUP", schema = "DRGs")
public class MDCGroup extends KoalaLegacyEntity {

	private static final long serialVersionUID = 6165557133209999388L;

	//MDC代码
	@Id
	@Column(name = "MDC_CODE", nullable = false)
	private String mdcCode;
	
	//版本代码
	@Column(name = "VER_CODE", nullable = false)
	private String verCode;
	
	//MDC描述
	@Column(name = "MDC_DESC", nullable = false)
	private String mdcDesc;

	/**
	 * @param mdcCode
	 * @param verCode
	 * @param mdcDesc
	 */
	public MDCGroup(String mdcCode, String verCode, String mdcDesc) {
		super();
		this.mdcCode = mdcCode;
		this.verCode = verCode;
		this.mdcDesc = mdcDesc;
	}

	/**
	 * 
	 */
	public MDCGroup() {
		super();
	}

	public MDCGroup(String version) {
		// TODO Auto-generated constructor stub
		this.verCode = version ;
	}

	public String getMdcCode() {
		return mdcCode;
	}

	public void setMdcCode(String mdcCode) {
		this.mdcCode = mdcCode;
	}

	public String getVerCode() {
		return verCode;
	}

	public void setVerCode(String verCode) {
		this.verCode = verCode;
	}

	public String getMdcDesc() {
		return mdcDesc;
	}

	public void setMdcDesc(String mdcDesc) {
		this.mdcDesc = mdcDesc;
	}

	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}

}
